3 * Definition of core ResourceLoader modules.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 * http://www.gnu.org/copyleft/gpl.html
23 if ( !defined( 'MEDIAWIKI' ) ) {
24 die( 'Not an entry point.' );
30 * Special modules who have their own classes
32 'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
34 // Scripts managed by the local wiki (stored in the MediaWiki namespace)
35 'site' => array( 'class' => 'ResourceLoaderSiteModule' ),
37 'class' => 'ResourceLoaderWikiModule',
38 'styles' => array( 'MediaWiki:Noscript.css' ),
39 'group' => 'noscript',
42 'class' => 'ResourceLoaderWikiModule',
43 'styles' => array( 'MediaWiki:Filepage.css' ),
45 'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
47 // Scripts managed by the current user (stored in their user space)
48 'user' => array( 'class' => 'ResourceLoaderUserModule' ),
50 // Scripts generated based on the current user's preferences
51 'user.cssprefs' => array( 'class' => 'ResourceLoaderUserCSSPrefsModule' ),
53 // Populate mediawiki.user placeholders with information about the current user
54 'user.defaults' => array( 'class' => 'ResourceLoaderUserDefaultsModule' ),
55 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
56 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
58 // Scripts for the dynamic language specific data, like grammar forms.
59 'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
61 // Dynamic data for mediawiki.jqueryMsg, such as allowed tags
62 'mediawiki.jqueryMsg.data' => array( 'class' => 'ResourceLoaderJqueryMsgDataModule' ),
64 /* MediaWiki base skinning modules */
67 * Common skin styles, grouped into three graded levels.
70 * The base level that only contains the most basic of common skin styles.
71 * Only styles for single elements are included, no styling for complex structures like the
72 * TOC is present. This level is for skins that want to implement the entire style of even
73 * content area structures like the TOC themselves.
76 * The most commonly used level for skins implemented from scratch. This level includes all
77 * the single element styles from "elements" as well as styles for complex structures such
78 * as the TOC that are output in the content area by MediaWiki rather than the skin.
79 * Essentially this is the common level that lets skins leave the style of the content area
80 * as it is normally styled, while leaving the rest of the skin up to the skin
83 * Level 3 "interface":
84 * The highest level, this stylesheet contains extra common styles for classes like
85 * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
86 * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
87 * common to MonoBook clones. And since practically every skin that currently exists within
88 * core is a MonoBook clone, all our core skins currently use this level.
90 * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
91 * dependency management. As a result they contain duplicate stylesheet references instead of
92 * setting 'dependencies' to the lower level the module is based on. For this reason avoid
93 * including more than one of them into your skin as this will result in duplicate CSS.
95 'mediawiki.skinning.elements' => array(
97 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
100 'mediawiki.skinning.content' => array(
102 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
103 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
106 'mediawiki.skinning.interface' => array(
107 'class' => 'ResourceLoaderSkinModule',
108 // Used in the web installer. Test it after modifying this definition!
110 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
111 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
112 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
116 'mediawiki.skinning.content.parsoid' => array(
117 // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
118 // with the interface.css styles; skinStyles should be used if your
119 // skin over-rides common content styling.
120 'skinStyles' => array(
121 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
123 'targets' => array( 'desktop', 'mobile' ),
126 'mediawiki.skinning.content.externallinks' => array(
128 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
136 'resources/lib/jquery/jquery.js',
139 'targets' => array( 'desktop', 'mobile' ),
144 'jquery.accessKeyLabel' => array(
145 'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
146 'dependencies' => array(
148 'jquery.mwExtension',
150 'messages' => array( 'brackets', 'word-separator' ),
151 'targets' => array( 'mobile', 'desktop' ),
153 'jquery.appear' => array(
154 'scripts' => 'resources/lib/jquery/jquery.appear.js',
156 'jquery.arrowSteps' => array(
157 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
158 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
160 'jquery.async' => array(
161 'scripts' => 'resources/lib/jquery/jquery.async.js',
163 'jquery.autoEllipsis' => array(
164 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
165 'dependencies' => 'jquery.highlightText',
166 'targets' => array( 'desktop', 'mobile' ),
168 'jquery.badge' => array(
169 'scripts' => 'resources/src/jquery/jquery.badge.js',
170 'styles' => 'resources/src/jquery/jquery.badge.css',
171 'dependencies' => 'mediawiki.language',
173 'jquery.byteLength' => array(
174 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
175 'targets' => array( 'desktop', 'mobile' ),
177 'jquery.byteLimit' => array(
178 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
179 'dependencies' => 'jquery.byteLength',
180 'targets' => array( 'desktop', 'mobile' ),
182 'jquery.checkboxShiftClick' => array(
183 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
184 'targets' => array( 'desktop', 'mobile' ),
186 'jquery.chosen' => array(
187 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
188 'styles' => 'resources/lib/jquery.chosen/chosen.css',
190 'jquery.client' => array(
191 'scripts' => 'resources/lib/jquery.client/jquery.client.js',
192 'targets' => array( 'desktop', 'mobile' ),
194 'jquery.color' => array(
195 'scripts' => 'resources/src/jquery/jquery.color.js',
196 'dependencies' => 'jquery.colorUtil',
198 'jquery.colorUtil' => array(
199 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
201 'jquery.confirmable' => array(
203 'resources/src/jquery/jquery.confirmable.js',
204 'resources/src/jquery/jquery.confirmable.mediawiki.js',
207 'confirmable-confirm',
212 'styles' => 'resources/src/jquery/jquery.confirmable.css',
213 'dependencies' => 'mediawiki.jqueryMsg',
215 'jquery.cookie' => array(
216 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
217 'targets' => array( 'desktop', 'mobile' ),
219 'jquery.expandableField' => array(
220 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
222 'jquery.farbtastic' => array(
223 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
224 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
225 'dependencies' => 'jquery.colorUtil',
227 'jquery.footHovzer' => array(
228 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
229 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
231 'jquery.form' => array(
232 'scripts' => 'resources/lib/jquery/jquery.form.js',
234 'jquery.fullscreen' => array(
235 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
237 'jquery.getAttrs' => array(
238 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
239 'targets' => array( 'desktop', 'mobile' ),
241 'jquery.hidpi' => array(
242 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
243 'targets' => array( 'desktop', 'mobile' ),
245 'jquery.highlightText' => array(
246 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
247 'dependencies' => 'jquery.mwExtension',
248 'targets' => array( 'desktop', 'mobile' ),
250 'jquery.hoverIntent' => array(
251 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
253 'jquery.localize' => array(
254 'scripts' => 'resources/src/jquery/jquery.localize.js',
256 'jquery.makeCollapsible' => array(
257 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
258 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
259 'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
260 'targets' => array( 'desktop', 'mobile' ),
262 'jquery.mockjax' => array(
263 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
265 'jquery.mw-jump' => array(
266 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
267 'targets' => array( 'desktop', 'mobile' ),
269 'jquery.mwExtension' => array(
270 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
271 'targets' => array( 'desktop', 'mobile' ),
273 'jquery.placeholder' => array(
274 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
275 'targets' => array( 'desktop', 'mobile' ),
277 'jquery.qunit' => array(
278 'scripts' => 'resources/lib/qunitjs/qunit.js',
279 'styles' => 'resources/lib/qunitjs/qunit.css',
281 'targets' => array( 'desktop', 'mobile' ),
283 'jquery.qunit.completenessTest' => array(
284 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
285 'dependencies' => 'jquery.qunit',
286 'targets' => array( 'desktop', 'mobile' ),
288 'jquery.spinner' => array(
289 'scripts' => 'resources/src/jquery/jquery.spinner.js',
290 'styles' => 'resources/src/jquery/jquery.spinner.css',
292 'jquery.jStorage' => array(
293 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
294 'dependencies' => 'json',
296 'jquery.suggestions' => array(
297 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
298 'styles' => 'resources/src/jquery/jquery.suggestions.css',
299 'dependencies' => 'jquery.highlightText',
301 'jquery.tabIndex' => array(
302 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
304 'jquery.tablesorter' => array(
305 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
306 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
307 'messages' => array( 'sort-descending', 'sort-ascending' ),
308 'dependencies' => array(
309 'jquery.mwExtension',
310 'mediawiki.language.months',
313 'jquery.textSelection' => array(
314 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
315 'dependencies' => 'jquery.client',
316 'targets' => array( 'mobile', 'desktop' ),
318 'jquery.throttle-debounce' => array(
319 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
320 'targets' => array( 'desktop', 'mobile' ),
322 'jquery.validate' => array(
323 'scripts' => 'resources/lib/jquery/jquery.validate.js',
325 'jquery.xmldom' => array(
326 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
331 'jquery.tipsy' => array(
332 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
333 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
338 'jquery.ui.core' => array(
339 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
340 'skinStyles' => array(
342 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
343 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
346 'group' => 'jquery.ui',
348 'jquery.ui.accordion' => array(
349 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
350 'dependencies' => array(
354 'skinStyles' => array(
355 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
357 'group' => 'jquery.ui',
359 'jquery.ui.autocomplete' => array(
360 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
361 'dependencies' => array(
364 'jquery.ui.position',
367 'skinStyles' => array(
368 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
370 'group' => 'jquery.ui',
372 'jquery.ui.button' => array(
373 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
374 'dependencies' => array(
378 'skinStyles' => array(
379 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
381 'group' => 'jquery.ui',
383 'jquery.ui.datepicker' => array(
384 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
385 'dependencies' => 'jquery.ui.core',
386 'skinStyles' => array(
387 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
389 'languageScripts' => array(
390 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
391 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
392 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
393 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
394 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
395 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
396 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
397 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
398 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
399 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
400 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
401 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
402 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
403 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
404 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
405 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
406 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
407 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
408 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
409 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
410 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
411 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
412 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
413 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
414 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
415 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
416 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
417 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
418 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
419 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
420 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
421 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
422 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
423 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
424 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
425 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
426 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
427 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
428 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
429 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
430 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
431 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
432 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
433 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
434 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
435 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
436 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
437 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
438 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
439 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
440 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
441 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
442 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
443 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
444 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
445 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
446 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
447 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
448 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
449 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
450 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
451 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
452 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
453 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
454 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
455 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
456 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
458 'group' => 'jquery.ui',
460 'jquery.ui.dialog' => array(
461 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
462 'dependencies' => array(
466 'jquery.ui.draggable',
468 'jquery.ui.position',
469 'jquery.ui.resizable',
471 'skinStyles' => array(
472 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
474 'group' => 'jquery.ui',
476 'jquery.ui.draggable' => array(
477 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
478 'dependencies' => array(
483 'group' => 'jquery.ui',
485 'jquery.ui.droppable' => array(
486 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
487 'dependencies' => array(
491 'jquery.ui.draggable',
493 'group' => 'jquery.ui',
495 'jquery.ui.menu' => array(
496 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
497 'dependencies' => array(
500 'jquery.ui.position',
502 'skinStyles' => array(
503 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
505 'group' => 'jquery.ui',
507 'jquery.ui.mouse' => array(
508 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
509 'dependencies' => 'jquery.ui.widget',
510 'group' => 'jquery.ui',
512 'jquery.ui.position' => array(
513 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
514 'group' => 'jquery.ui',
516 'jquery.ui.progressbar' => array(
517 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
518 'dependencies' => array(
522 'skinStyles' => array(
523 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
525 'group' => 'jquery.ui',
527 'jquery.ui.resizable' => array(
528 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
529 'dependencies' => array(
534 'skinStyles' => array(
535 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
537 'group' => 'jquery.ui',
539 'jquery.ui.selectable' => array(
540 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
541 'dependencies' => array(
546 'skinStyles' => array(
547 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
549 'group' => 'jquery.ui',
551 'jquery.ui.slider' => array(
552 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
553 'dependencies' => array(
558 'skinStyles' => array(
559 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
561 'group' => 'jquery.ui',
563 'jquery.ui.sortable' => array(
564 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
565 'dependencies' => array(
570 'group' => 'jquery.ui',
572 'jquery.ui.spinner' => array(
573 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
574 'dependencies' => array(
579 'skinStyles' => array(
580 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
582 'group' => 'jquery.ui',
584 'jquery.ui.tabs' => array(
585 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
586 'dependencies' => array(
590 'skinStyles' => array(
591 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
593 'group' => 'jquery.ui',
595 'jquery.ui.tooltip' => array(
596 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
597 'dependencies' => array(
600 'jquery.ui.position',
602 'skinStyles' => array(
603 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
605 'group' => 'jquery.ui',
607 'jquery.ui.widget' => array(
608 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
609 'group' => 'jquery.ui',
612 'jquery.effects.core' => array(
613 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
614 'group' => 'jquery.ui',
616 'jquery.effects.blind' => array(
617 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
618 'dependencies' => 'jquery.effects.core',
619 'group' => 'jquery.ui',
621 'jquery.effects.bounce' => array(
622 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
623 'dependencies' => 'jquery.effects.core',
624 'group' => 'jquery.ui',
626 'jquery.effects.clip' => array(
627 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
628 'dependencies' => 'jquery.effects.core',
629 'group' => 'jquery.ui',
631 'jquery.effects.drop' => array(
632 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
633 'dependencies' => 'jquery.effects.core',
634 'group' => 'jquery.ui',
636 'jquery.effects.explode' => array(
637 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
638 'dependencies' => 'jquery.effects.core',
639 'group' => 'jquery.ui',
641 'jquery.effects.fade' => array(
642 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
643 'dependencies' => 'jquery.effects.core',
644 'group' => 'jquery.ui',
646 'jquery.effects.fold' => array(
647 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
648 'dependencies' => 'jquery.effects.core',
649 'group' => 'jquery.ui',
651 'jquery.effects.highlight' => array(
652 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
653 'dependencies' => 'jquery.effects.core',
654 'group' => 'jquery.ui',
656 'jquery.effects.pulsate' => array(
657 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
658 'dependencies' => 'jquery.effects.core',
659 'group' => 'jquery.ui',
661 'jquery.effects.scale' => array(
662 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
663 'dependencies' => 'jquery.effects.core',
664 'group' => 'jquery.ui',
666 'jquery.effects.shake' => array(
667 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
668 'dependencies' => 'jquery.effects.core',
669 'group' => 'jquery.ui',
671 'jquery.effects.slide' => array(
672 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
673 'dependencies' => 'jquery.effects.core',
674 'group' => 'jquery.ui',
676 'jquery.effects.transfer' => array(
677 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
678 'dependencies' => 'jquery.effects.core',
679 'group' => 'jquery.ui',
685 'scripts' => 'resources/lib/json2/json2.js',
686 'targets' => array( 'desktop', 'mobile' ),
687 'skipFunction' => 'resources/src/json-skip.js',
693 'scripts' => 'resources/lib/moment/moment.js',
694 'languageScripts' => array(
695 'af' => 'resources/lib/moment/locale/af.js',
696 'ar' => 'resources/lib/moment/locale/ar.js',
697 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
698 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
699 'az' => 'resources/lib/moment/locale/az.js',
700 'be' => 'resources/lib/moment/locale/be.js',
701 'bg' => 'resources/lib/moment/locale/bg.js',
702 'bn' => 'resources/lib/moment/locale/bn.js',
703 'bo' => 'resources/lib/moment/locale/bo.js',
704 'br' => 'resources/lib/moment/locale/br.js',
705 'bs' => 'resources/lib/moment/locale/bs.js',
706 'ca' => 'resources/lib/moment/locale/ca.js',
707 'cs' => 'resources/lib/moment/locale/cs.js',
708 'cv' => 'resources/lib/moment/locale/cv.js',
709 'cy' => 'resources/lib/moment/locale/cy.js',
710 'da' => 'resources/lib/moment/locale/da.js',
711 'de' => 'resources/lib/moment/locale/de.js',
712 'de-at' => 'resources/lib/moment/locale/de-at.js',
713 'el' => 'resources/lib/moment/locale/el.js',
714 'en-au' => 'resources/lib/moment/locale/en-au.js',
715 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
716 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
717 'eo' => 'resources/lib/moment/locale/eo.js',
718 'es' => 'resources/lib/moment/locale/es.js',
719 'et' => 'resources/lib/moment/locale/et.js',
720 'eu' => 'resources/lib/moment/locale/eu.js',
721 'fa' => 'resources/lib/moment/locale/fa.js',
722 'fi' => 'resources/lib/moment/locale/fi.js',
723 'fo' => 'resources/lib/moment/locale/fo.js',
724 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
725 'fr' => 'resources/lib/moment/locale/fr.js',
726 'gl' => 'resources/lib/moment/locale/gl.js',
727 'he' => 'resources/lib/moment/locale/he.js',
728 'hi' => 'resources/lib/moment/locale/hi.js',
729 'hr' => 'resources/lib/moment/locale/hr.js',
730 'hu' => 'resources/lib/moment/locale/hu.js',
731 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
732 'id' => 'resources/lib/moment/locale/id.js',
733 'is' => 'resources/lib/moment/locale/is.js',
734 'it' => 'resources/lib/moment/locale/it.js',
735 'ja' => 'resources/lib/moment/locale/ja.js',
736 'ka' => 'resources/lib/moment/locale/ka.js',
737 'ko' => 'resources/lib/moment/locale/ko.js',
738 'lt' => 'resources/lib/moment/locale/lt.js',
739 'lv' => 'resources/lib/moment/locale/lv.js',
740 'mk' => 'resources/lib/moment/locale/mk.js',
741 'ml' => 'resources/lib/moment/locale/ml.js',
742 'mr' => 'resources/lib/moment/locale/mr.js',
743 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
744 'my' => 'resources/lib/moment/locale/my.js',
745 'nb' => 'resources/lib/moment/locale/nb.js',
746 'ne' => 'resources/lib/moment/locale/ne.js',
747 'nl' => 'resources/lib/moment/locale/nl.js',
748 'nn' => 'resources/lib/moment/locale/nn.js',
749 'pl' => 'resources/lib/moment/locale/pl.js',
750 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
751 'pt' => 'resources/lib/moment/locale/pt.js',
752 'ro' => 'resources/lib/moment/locale/ro.js',
753 'ru' => 'resources/lib/moment/locale/ru.js',
754 'sk' => 'resources/lib/moment/locale/sk.js',
755 'sl' => 'resources/lib/moment/locale/sl.js',
756 'sq' => 'resources/lib/moment/locale/sq.js',
757 'sr' => 'resources/lib/moment/locale/sr.js',
758 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
759 'sv' => 'resources/lib/moment/locale/sv.js',
760 'ta' => 'resources/lib/moment/locale/ta.js',
761 'th' => 'resources/lib/moment/locale/th.js',
762 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
763 'tr' => 'resources/lib/moment/locale/tr.js',
764 'tzm' => 'resources/lib/moment/locale/tzm.js',
765 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
766 'uk' => 'resources/lib/moment/locale/uk.js',
767 'uz' => 'resources/lib/moment/locale/uz.js',
768 'vi' => 'resources/lib/moment/locale/vi.js',
769 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
770 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
772 'targets' => array( 'desktop', 'mobile' ),
777 'mediawiki' => array(
778 'class' => 'ResourceLoaderRawFileModule',
779 // Keep maintenance/jsduck/eg-iframe.html in sync
781 'resources/lib/phpjs-sha1/sha1.js',
782 'resources/src/mediawiki/mediawiki.js',
783 'resources/src/mediawiki/mediawiki.errorLogger.js',
784 'resources/src/mediawiki/mediawiki.startUp.js',
786 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
787 'targets' => array( 'desktop', 'mobile' ),
789 'mediawiki.apihelp' => array(
790 'styles' => 'resources/src/mediawiki/mediawiki.apihelp.css',
791 'targets' => array( 'desktop' ),
792 'dependencies' => 'mediawiki.hlist',
795 'mediawiki.template' => array(
796 'scripts' => 'resources/src/mediawiki/mediawiki.template.js',
797 'targets' => array( 'desktop', 'mobile' ),
799 'mediawiki.template.mustache' => array(
801 'resources/lib/mustache/mustache.js',
802 'resources/src/mediawiki/mediawiki.template.mustache.js',
804 'targets' => array( 'desktop', 'mobile' ),
806 'mediawiki.apipretty' => array(
807 'styles' => 'resources/src/mediawiki/mediawiki.apipretty.css',
808 'targets' => array( 'desktop', 'mobile' ),
811 'mediawiki.api' => array(
812 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
813 'dependencies' => 'mediawiki.util',
814 'targets' => array( 'desktop', 'mobile' ),
816 'mediawiki.api.category' => array(
817 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
818 'dependencies' => array(
823 'mediawiki.api.edit' => array(
824 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
825 'dependencies' => array(
830 'targets' => array( 'desktop', 'mobile' ),
832 'mediawiki.api.login' => array(
833 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
834 'dependencies' => 'mediawiki.api',
836 'mediawiki.api.options' => array(
837 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.options.js',
838 'dependencies' => 'mediawiki.api',
839 'targets' => array( 'desktop', 'mobile' ),
841 'mediawiki.api.parse' => array(
842 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
843 'dependencies' => 'mediawiki.api',
845 'mediawiki.api.watch' => array(
846 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
847 'dependencies' => array(
852 'mediawiki.content.json' => array(
853 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
855 'mediawiki.confirmCloseWindow' => array(
857 'resources/src/mediawiki/mediawiki.confirmCloseWindow.js',
859 'targets' => array( 'desktop', 'mobile' ),
861 'mediawiki.debug' => array(
863 'resources/src/mediawiki/mediawiki.debug.js',
866 'resources/src/mediawiki/mediawiki.debug.less',
868 'dependencies' => array(
872 'position' => 'bottom',
874 'mediawiki.debug.init' => array(
875 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
876 'dependencies' => 'mediawiki.debug',
877 // Uses a custom mw.config variable that is set in debughtml,
878 // must be loaded on the bottom
879 'position' => 'bottom',
881 'mediawiki.feedback' => array(
882 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
883 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
884 'dependencies' => array(
885 'mediawiki.messagePoster',
893 'feedback-dialog-intro',
894 'feedback-external-bug-report-button',
896 'feedback-bugornote',
899 'feedback-dialog-title',
900 'feedback-error-title',
909 'feedback-termsofuse',
911 'feedback-thanks-title',
916 'mediawiki.filewarning' => array(
917 'scripts' => 'resources/src/mediawiki/mediawiki.filewarning.js',
918 'styles' => 'resources/src/mediawiki/mediawiki.filewarning.less',
919 'dependencies' => array(
924 'mediawiki.helplink' => array(
926 'resources/src/mediawiki/mediawiki.helplink.less',
928 'targets' => array( 'desktop', 'mobile' ),
930 'mediawiki.hidpi' => array(
931 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
932 'dependencies' => 'jquery.hidpi',
933 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
934 'targets' => array( 'desktop', 'mobile' ),
936 'mediawiki.hlist' => array(
937 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
938 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
939 'dependencies' => 'jquery.client',
941 'mediawiki.htmlform' => array(
942 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
943 'dependencies' => array(
944 'jquery.mwExtension',
948 'htmlform-chosen-placeholder',
949 // @todo Load this message in content language
953 'mediawiki.htmlform.ooui' => array(
954 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.js',
955 'dependencies' => 'oojs-ui',
957 'mediawiki.htmlform.ooui.styles' => array(
958 'styles' => 'resources/src/mediawiki/mediawiki.htmlform.ooui.css',
960 'mediawiki.icon' => array(
961 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
963 'mediawiki.inspect' => array(
964 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
965 'dependencies' => array(
969 'targets' => array( 'desktop', 'mobile' ),
971 'mediawiki.messagePoster' => array(
973 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.factory.js',
974 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.MessagePoster.js',
976 'dependencies' => array(
980 'targets' => array( 'desktop', 'mobile' ),
982 'mediawiki.messagePoster.wikitext' => array(
984 'resources/src/mediawiki.messagePoster/mediawiki.messagePoster.WikitextMessagePoster.js',
986 'dependencies' => array(
987 'mediawiki.api.edit',
988 'mediawiki.messagePoster',
990 'targets' => array( 'desktop', 'mobile' ),
992 'mediawiki.notification' => array(
994 'resources/src/mediawiki/mediawiki.notification.common.css',
995 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
996 => array( 'media' => 'print' ),
998 'skinStyles' => array(
999 'default' => 'resources/src/mediawiki/mediawiki.notification.css',
1001 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
1002 'dependencies' => 'mediawiki.page.startup',
1003 'targets' => array( 'desktop', 'mobile' ),
1005 'mediawiki.notify' => array(
1006 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
1007 'targets' => array( 'desktop', 'mobile' ),
1009 'mediawiki.pager.tablePager' => array(
1010 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
1011 'position' => 'top',
1013 'mediawiki.searchSuggest' => array(
1014 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
1015 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
1016 'messages' => array(
1017 'searchsuggest-search',
1018 'searchsuggest-containing',
1020 'dependencies' => array(
1022 'jquery.placeholder',
1023 'jquery.suggestions',
1028 'mediawiki.sectionAnchor' => array(
1029 // Back-compat to hide it on cached pages (T18691; Ie9e334e973; 2015-03-17)
1030 'styles' => 'resources/src/mediawiki/mediawiki.sectionAnchor.css',
1031 'targets' => array( 'desktop', 'mobile' ),
1033 'mediawiki.Title' => array(
1034 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
1035 'dependencies' => array(
1036 'jquery.byteLength',
1039 'targets' => array( 'desktop', 'mobile' ),
1041 'mediawiki.toc' => array(
1042 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
1043 'dependencies' => 'mediawiki.cookie',
1044 'messages' => array( 'showtoc', 'hidetoc' ),
1045 'targets' => array( 'desktop', 'mobile' ),
1047 'mediawiki.Uri' => array(
1048 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
1049 'dependencies' => 'mediawiki.util',
1050 'targets' => array( 'desktop', 'mobile' ),
1052 'mediawiki.user' => array(
1053 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
1054 'dependencies' => array(
1060 'targets' => array( 'desktop', 'mobile' ),
1062 'mediawiki.userSuggest' => array(
1063 'scripts' => 'resources/src/mediawiki/mediawiki.userSuggest.js',
1064 'dependencies' => array(
1065 'jquery.suggestions',
1069 'mediawiki.util' => array(
1070 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
1071 'dependencies' => array(
1072 'jquery.accessKeyLabel',
1073 'jquery.mwExtension',
1076 'position' => 'top', // For $wgPreloadJavaScriptMwUtil
1077 'targets' => array( 'desktop', 'mobile' ),
1079 'mediawiki.cookie' => array(
1080 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
1081 'dependencies' => 'jquery.cookie',
1082 'targets' => array( 'desktop', 'mobile' ),
1084 'mediawiki.toolbar' => array(
1085 'class' => 'ResourceLoaderEditToolbarModule',
1086 'scripts' => 'resources/src/mediawiki.toolbar/toolbar.js',
1087 'styles' => 'resources/src/mediawiki.toolbar/toolbar.less',
1088 'position' => 'top',
1091 /* MediaWiki Action */
1093 'mediawiki.action.edit' => array(
1094 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
1095 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
1096 'dependencies' => array(
1097 'mediawiki.action.edit.styles',
1098 'jquery.textSelection',
1101 'position' => 'top',
1103 'mediawiki.action.edit.styles' => array(
1104 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
1105 'position' => 'top',
1107 'mediawiki.action.edit.collapsibleFooter' => array(
1108 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
1109 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
1110 'dependencies' => array(
1111 'jquery.makeCollapsible',
1116 'mediawiki.action.edit.preview' => array(
1117 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
1118 'dependencies' => array(
1121 'jquery.textSelection',
1123 'mediawiki.action.history.diff',
1125 'mediawiki.jqueryMsg',
1127 'messages' => array(
1128 // Keep the uses message keys in sync with EditPage#setHeaders
1143 'mediawiki.action.edit.stash' => array(
1144 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.stash.js',
1145 'dependencies' => array(
1150 'mediawiki.action.history' => array(
1151 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
1152 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
1153 'group' => 'mediawiki.action.history',
1155 'mediawiki.action.history.diff' => array(
1157 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
1158 'resources/src/mediawiki.action/mediawiki.action.history.diff.print.css' => array(
1162 'group' => 'mediawiki.action.history',
1163 'targets' => array( 'desktop', 'mobile' ),
1165 'mediawiki.action.view.dblClickEdit' => array(
1166 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
1167 'dependencies' => array(
1169 'mediawiki.page.startup',
1173 'mediawiki.action.view.metadata' => array(
1174 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
1175 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
1176 'messages' => array(
1178 'metadata-collapse',
1181 'mediawiki.action.view.categoryPage.styles' => array(
1182 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.categoryPage.less',
1183 'targets' => array( 'desktop', 'mobile' )
1185 'mediawiki.action.view.postEdit' => array(
1186 'templates' => array(
1187 'postEdit.html' => 'resources/src/mediawiki.action/templates/postEdit.html',
1189 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
1190 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
1191 'dependencies' => array(
1193 'mediawiki.jqueryMsg'
1195 'messages' => array(
1196 'postedit-confirmation-created',
1197 'postedit-confirmation-restored',
1198 'postedit-confirmation-saved',
1201 'mediawiki.action.view.redirect' => array(
1202 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
1203 'dependencies' => 'jquery.client',
1204 'position' => 'top',
1206 'mediawiki.action.view.redirectPage' => array(
1207 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
1208 'position' => 'top',
1210 'mediawiki.action.view.rightClickEdit' => array(
1211 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
1213 'mediawiki.action.edit.editWarning' => array(
1214 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
1215 'dependencies' => array(
1216 'jquery.textSelection',
1217 'mediawiki.jqueryMsg',
1218 'mediawiki.confirmCloseWindow',
1220 'messages' => array(
1221 'editwarning-warning',
1222 // editwarning-warning uses {{int:prefs-editing}}
1227 /* MediaWiki Language */
1229 'mediawiki.language' => array(
1231 'resources/src/mediawiki.language/mediawiki.language.js',
1232 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
1233 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
1235 'languageScripts' => array(
1236 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
1237 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
1238 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
1239 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
1240 'he' => 'resources/src/mediawiki.language/languages/he.js',
1241 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
1242 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
1243 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
1244 'la' => 'resources/src/mediawiki.language/languages/la.js',
1245 'os' => 'resources/src/mediawiki.language/languages/os.js',
1246 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
1247 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
1248 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
1250 'dependencies' => array(
1251 'mediawiki.language.data',
1254 'targets' => array( 'desktop', 'mobile' ),
1255 'messages' => array(
1262 'mediawiki.cldr' => array(
1263 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
1264 'dependencies' => array(
1265 'mediawiki.libs.pluralruleparser',
1267 'targets' => array( 'desktop', 'mobile' ),
1270 'mediawiki.libs.pluralruleparser' => array(
1271 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
1272 'targets' => array( 'desktop', 'mobile' ),
1275 'mediawiki.language.init' => array(
1276 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
1277 'targets' => array( 'desktop', 'mobile' ),
1280 'mediawiki.jqueryMsg' => array(
1281 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
1282 'dependencies' => array(
1283 'mediawiki.jqueryMsg.data',
1285 'mediawiki.language',
1288 'targets' => array( 'desktop', 'mobile' ),
1291 'mediawiki.language.months' => array(
1292 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
1293 'dependencies' => 'mediawiki.language',
1294 'messages' => array_merge(
1295 Language
::$mMonthMsgs,
1296 Language
::$mMonthGenMsgs,
1297 Language
::$mMonthAbbrevMsgs
1301 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
1303 'mediawiki.language.specialCharacters' => array(
1304 'class' => 'ResourceLoaderSpecialCharacterDataModule'
1307 /* MediaWiki Libs */
1309 'mediawiki.libs.jpegmeta' => array(
1310 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
1313 /* MediaWiki Page */
1315 'mediawiki.page.gallery' => array(
1316 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
1317 'dependencies' => array(
1318 'jquery.throttle-debounce',
1321 'mediawiki.page.ready' => array(
1322 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
1323 'dependencies' => array(
1324 'jquery.accessKeyLabel',
1325 'jquery.checkboxShiftClick',
1326 'jquery.makeCollapsible',
1327 'jquery.placeholder',
1330 'targets' => array( 'desktop', 'mobile' ),
1332 'mediawiki.page.startup' => array(
1333 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
1334 'dependencies' => 'mediawiki.util',
1335 'position' => 'top',
1336 'targets' => array( 'desktop', 'mobile' ),
1338 'mediawiki.page.patrol.ajax' => array(
1339 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
1340 'dependencies' => array(
1341 'mediawiki.page.startup',
1349 'messages' => array(
1350 'markedaspatrollednotify',
1351 'markedaspatrollederrornotify',
1352 'markedaspatrollederror-noautopatrol'
1355 'mediawiki.page.watch.ajax' => array(
1356 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
1357 'dependencies' => array(
1358 'mediawiki.api.watch',
1360 'mediawiki.page.startup',
1362 'jquery.accessKeyLabel',
1363 'jquery.mwExtension',
1365 'messages' => array(
1371 'tooltip-ca-unwatch',
1375 'mediawiki.page.image.pagination' => array(
1376 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
1377 'dependencies' => array(
1384 /* MediaWiki Special pages */
1386 'mediawiki.special' => array(
1387 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
1388 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
1390 'mediawiki.special.block' => array(
1391 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
1392 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
1393 'dependencies' => 'mediawiki.util',
1395 'mediawiki.special.changeemail' => array(
1396 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
1397 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
1398 'dependencies' => 'mediawiki.util',
1399 'messages' => array(
1400 'email-address-validity-valid',
1401 'email-address-validity-invalid',
1404 'mediawiki.special.changeslist' => array(
1405 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
1407 'mediawiki.special.changeslist.legend' => array(
1408 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
1410 'mediawiki.special.changeslist.legend.js' => array(
1411 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
1412 'dependencies' => array(
1413 'jquery.makeCollapsible',
1417 'mediawiki.special.changeslist.enhanced' => array(
1418 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
1420 'mediawiki.special.edittags' => array(
1421 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.edittags.js',
1422 'dependencies' => array(
1425 'messages' => array(
1426 'tags-edit-chosen-placeholder',
1427 'tags-edit-chosen-no-results',
1430 'mediawiki.special.edittags.styles' => array(
1431 'styles' => 'resources/src/mediawiki.special/mediawiki.special.edittags.css',
1432 'position' => 'top',
1434 'mediawiki.special.import' => array(
1435 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
1437 'mediawiki.special.movePage' => array(
1438 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
1439 'dependencies' => 'jquery.byteLimit',
1441 'mediawiki.special.pageLanguage' => array(
1442 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
1444 'mediawiki.special.pagesWithProp' => array(
1445 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
1447 'mediawiki.special.preferences' => array(
1448 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
1449 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
1450 'position' => 'top',
1451 'messages' => array(
1452 'prefs-tabs-navigation-hint',
1453 'prefswarning-warning',
1456 'dependencies' => array(
1457 'mediawiki.language',
1458 'mediawiki.confirmCloseWindow',
1461 'mediawiki.special.recentchanges' => array(
1462 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
1463 'dependencies' => 'mediawiki.special',
1464 'position' => 'top',
1466 'mediawiki.special.search' => array(
1467 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
1468 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
1469 'messages' => array(
1470 'powersearch-togglelabel',
1471 'powersearch-toggleall',
1472 'powersearch-togglenone',
1475 'mediawiki.special.undelete' => array(
1476 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
1478 'mediawiki.special.upload' => array(
1479 'templates' => array(
1480 'thumbnail.html' => 'resources/src/mediawiki.special/templates/thumbnail.html',
1482 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
1483 'messages' => array(
1490 'editwarning-warning',
1491 // editwarning-warning uses {{int:prefs-editing}}
1494 'dependencies' => array(
1496 'mediawiki.jqueryMsg',
1498 'mediawiki.libs.jpegmeta',
1501 'mediawiki.confirmCloseWindow',
1504 'mediawiki.special.userlogin.common.styles' => array(
1506 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
1508 'position' => 'top',
1510 'mediawiki.special.userlogin.signup.styles' => array(
1512 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
1514 'position' => 'top',
1516 'mediawiki.special.userlogin.login.styles' => array(
1518 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
1520 'position' => 'top',
1522 'mediawiki.special.userlogin.common.js' => array(
1524 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
1526 'messages' => array(
1527 'createacct-captcha',
1528 'createacct-imgcaptcha-ph',
1531 'mediawiki.special.userlogin.signup.js' => array(
1532 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
1533 'messages' => array(
1535 'createacct-emailrequired',
1539 'dependencies' => array(
1541 'mediawiki.jqueryMsg',
1542 'jquery.throttle-debounce',
1545 'mediawiki.special.unwatchedPages' => array(
1546 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
1547 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
1548 'messages' => array(
1549 'addedwatchtext-short',
1550 'removedwatchtext-short',
1557 'dependencies' => array(
1559 'mediawiki.api.watch',
1565 'mediawiki.special.javaScriptTest' => array(
1566 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
1567 'messages' => array_merge( Skin
::getSkinNameMessages(), array(
1569 'javascripttest-pagetext-skins',
1571 'dependencies' => 'mediawiki.Uri',
1572 'position' => 'top',
1573 'targets' => array( 'desktop', 'mobile' ),
1575 'mediawiki.special.version' => array(
1576 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
1579 /* MediaWiki Installer */
1581 'mediawiki.legacy.config' => array(
1582 // Used in the web installer. Test it after modifying this definition!
1583 // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
1584 'scripts' => 'mw-config/config.js',
1585 'styles' => 'mw-config/config.css',
1588 /* MediaWiki Legacy */
1590 'mediawiki.legacy.ajax' => array(
1591 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
1592 'dependencies' => array(
1594 'mediawiki.legacy.wikibits',
1596 'position' => 'top',
1598 'mediawiki.legacy.commonPrint' => array(
1600 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
1603 'mediawiki.legacy.protect' => array(
1604 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
1605 'dependencies' => 'jquery.byteLimit',
1606 'messages' => array( 'protect-unchain-permissions' )
1608 'mediawiki.legacy.shared' => array(
1609 // Used in the web installer. Test it after modifying this definition!
1611 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
1614 'mediawiki.legacy.oldshared' => array(
1616 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
1619 'mediawiki.legacy.wikibits' => array(
1620 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
1621 'dependencies' => 'mediawiki.util',
1622 'position' => 'top',
1627 'mediawiki.ui' => array(
1628 'skinStyles' => array(
1630 'resources/src/mediawiki.ui/default.less',
1633 'position' => 'top',
1634 'targets' => array( 'desktop', 'mobile' ),
1636 'mediawiki.ui.checkbox' => array(
1637 'skinStyles' => array(
1639 'resources/src/mediawiki.ui/components/checkbox.less',
1642 'position' => 'top',
1643 'targets' => array( 'desktop', 'mobile' ),
1645 'mediawiki.ui.radio' => array(
1646 'skinStyles' => array(
1648 'resources/src/mediawiki.ui/components/radio.less',
1651 'position' => 'top',
1652 'targets' => array( 'desktop', 'mobile' ),
1654 // Lightweight module for anchor styles
1655 'mediawiki.ui.anchor' => array(
1656 'skinStyles' => array(
1658 'resources/src/mediawiki.ui/components/anchors.less',
1661 'position' => 'top',
1662 'targets' => array( 'desktop', 'mobile' ),
1664 // Lightweight module for button styles
1665 'mediawiki.ui.button' => array(
1666 'skinStyles' => array(
1668 'resources/src/mediawiki.ui/components/buttons.less',
1671 'position' => 'top',
1672 'targets' => array( 'desktop', 'mobile' ),
1674 'mediawiki.ui.input' => array(
1675 'skinStyles' => array(
1677 'resources/src/mediawiki.ui/components/inputs.less',
1680 'position' => 'top',
1681 'targets' => array( 'desktop', 'mobile' ),
1683 'mediawiki.ui.icon' => array(
1684 'skinStyles' => array(
1686 'resources/src/mediawiki.ui/components/icons.less',
1689 'position' => 'top',
1690 'targets' => array( 'desktop', 'mobile' ),
1692 // Lightweight module for text styles
1693 'mediawiki.ui.text' => array(
1694 'skinStyles' => array(
1696 'resources/src/mediawiki.ui/components/text.less',
1699 'position' => 'top',
1700 'targets' => array( 'desktop', 'mobile' ),
1703 'mediawiki.widgets' => array(
1705 'resources/src/mediawiki.widgets/mw.widgets.js',
1706 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.js',
1708 'skinStyles' => array(
1709 'default' => 'resources/src/mediawiki.widgets/mw.widgets.TitleInputWidget.css',
1711 'dependencies' => array(
1714 'messages' => array(
1717 'targets' => array( 'desktop', 'mobile' ),
1721 'es5-shim' => array(
1723 'resources/lib/es5-shim/es5-shim.js',
1724 'resources/src/polyfill-object-create.js',
1726 'targets' => array( 'desktop', 'mobile' ),
1727 'skipFunction' => 'resources/src/es5-skip.js',
1730 /* dom-level2-shim */
1732 'dom-level2-shim' => array(
1733 'scripts' => 'resources/src/polyfill-nodeTypes.js',
1734 'targets' => array( 'desktop', 'mobile' ),
1735 'skipFunction' => 'resources/src/dom-level2-skip.js',
1741 'resources/lib/oojs/oojs.jquery.js',
1743 'targets' => array( 'desktop', 'mobile' ),
1744 'dependencies' => array(
1751 // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
1752 // if loaded in browsers that don't support ES5
1755 'resources/lib/oojs-ui/oojs-ui.js',
1757 'skinScripts' => array(
1758 'default' => 'resources/lib/oojs-ui/oojs-ui-mediawiki.js',
1760 'dependencies' => array(
1764 'oojs-ui.styles.icons',
1765 'oojs-ui.styles.indicators',
1766 'oojs-ui.styles.textures',
1768 'messages' => array(
1769 'ooui-dialog-message-accept',
1770 'ooui-dialog-message-reject',
1771 'ooui-dialog-process-continue',
1772 'ooui-dialog-process-dismiss',
1773 'ooui-dialog-process-error',
1774 'ooui-dialog-process-retry',
1775 'ooui-outline-control-move-down',
1776 'ooui-outline-control-move-up',
1777 'ooui-outline-control-remove',
1778 'ooui-toolbar-more',
1779 'ooui-toolgroup-collapse',
1780 'ooui-toolgroup-expand',
1782 'targets' => array( 'desktop', 'mobile' ),
1785 'oojs-ui.styles' => array(
1786 'position' => 'top',
1787 'styles' => 'resources/src/oojs-ui-local.css', // HACK, see inside the file
1788 'skinStyles' => array(
1789 'default' => 'resources/lib/oojs-ui/oojs-ui-mediawiki-noimages.css',
1791 'targets' => array( 'desktop', 'mobile' ),
1794 'oojs-ui.styles.icons' => array(
1795 'class' => 'ResourceLoaderImageModule',
1796 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1797 'data' => 'icons.json',
1798 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1799 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1801 'oojs-ui.styles.indicators' => array(
1802 'class' => 'ResourceLoaderImageModule',
1803 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1804 'data' => 'indicators.json',
1806 'oojs-ui.styles.textures' => array(
1807 'class' => 'ResourceLoaderImageModule',
1808 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1809 'data' => 'textures.json',
1811 'oojs-ui.styles.icons-alerts' => array(
1812 'class' => 'ResourceLoaderImageModule',
1813 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1814 'data' => 'icons-alerts.json',
1815 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1816 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1818 'oojs-ui.styles.icons-content' => array(
1819 'class' => 'ResourceLoaderImageModule',
1820 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1821 'data' => 'icons-content.json',
1822 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1823 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1825 'oojs-ui.styles.icons-editing-advanced' => array(
1826 'class' => 'ResourceLoaderImageModule',
1827 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1828 'data' => 'icons-editing-advanced.json',
1829 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1830 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1832 'oojs-ui.styles.icons-editing-core' => array(
1833 'class' => 'ResourceLoaderImageModule',
1834 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1835 'data' => 'icons-editing-core.json',
1836 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1837 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1839 'oojs-ui.styles.icons-editing-list' => array(
1840 'class' => 'ResourceLoaderImageModule',
1841 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1842 'data' => 'icons-editing-list.json',
1843 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1844 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1846 'oojs-ui.styles.icons-editing-styling' => array(
1847 'class' => 'ResourceLoaderImageModule',
1848 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1849 'data' => 'icons-editing-styling.json',
1850 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1851 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1853 'oojs-ui.styles.icons-interactions' => array(
1854 'class' => 'ResourceLoaderImageModule',
1855 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1856 'data' => 'icons-interactions.json',
1857 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1858 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1860 'oojs-ui.styles.icons-layout' => array(
1861 'class' => 'ResourceLoaderImageModule',
1862 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1863 'data' => 'icons-layout.json',
1864 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1865 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1867 'oojs-ui.styles.icons-location' => array(
1868 'class' => 'ResourceLoaderImageModule',
1869 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1870 'data' => 'icons-location.json',
1871 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1872 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1874 'oojs-ui.styles.icons-media' => array(
1875 'class' => 'ResourceLoaderImageModule',
1876 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1877 'data' => 'icons-media.json',
1878 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1879 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1881 'oojs-ui.styles.icons-moderation' => array(
1882 'class' => 'ResourceLoaderImageModule',
1883 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1884 'data' => 'icons-moderation.json',
1885 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1886 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1888 'oojs-ui.styles.icons-movement' => array(
1889 'class' => 'ResourceLoaderImageModule',
1890 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1891 'data' => 'icons-movement.json',
1892 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1893 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1895 'oojs-ui.styles.icons-user' => array(
1896 'class' => 'ResourceLoaderImageModule',
1897 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1898 'data' => 'icons-user.json',
1899 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1900 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',
1902 'oojs-ui.styles.icons-wikimedia' => array(
1903 'class' => 'ResourceLoaderImageModule',
1904 'localBasePath' => "$IP/resources/lib/oojs-ui/themes/mediawiki",
1905 'data' => 'icons-wikimedia.json',
1906 'selectorWithoutVariant' => '.oo-ui-icon-{name}, .mw-ui-icon-{name}:after, .mw-ui-icon-{name}:before',
1907 'selectorWithVariant' => '.oo-ui-image-{variant} .oo-ui-icon-{name}, .oo-ui-image-{variant}.oo-ui-icon-{name}, .mw-ui-icon-{name}-{variant}:after, .mw-ui-icon-{name}-{variant}:before, .mw-ui-hovericon:hover .mw-ui-icon-{name}-{variant}-hover:before, .mw-ui-hovericon.mw-ui-icon-{name}-{variant}-hover:hover:before',